package com.dao.secondary.device;
import com.model.domain.device.GetDeviceObdVersionInfoDO;
import com.model.pojo.device.Device25ObdVersionInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceObdVersionInfoMapper {
    int deleteByPrimaryKey(@Param("id") Long id);

    int insert(Device25ObdVersionInfo record);

    int insertSelective(Device25ObdVersionInfo record);

    Device25ObdVersionInfo selectByPrimaryKey(@Param("id") Long id);

    List<Device25ObdVersionInfo> selectByNewVersion(@Param("newVersion")String newVersion);
    int updateByPrimaryKeySelective(Device25ObdVersionInfo record);

    int updateByPrimaryKey(Device25ObdVersionInfo record);

    List<Device25ObdVersionInfo> selectList(GetDeviceObdVersionInfoDO getDeviceObdVersionInfoDO);

    void insertListSelective(List<Device25ObdVersionInfo> deviceObdVersionInfoList);

    void updateListSelective(List<Device25ObdVersionInfo> deviceObdVersionInfoList);

    int has(@Param("DeviceObdVersionInfoId") Long DeviceObdVersionInfoId, @Param("isDelete") Byte isDelete);
}